﻿using LDC_Shop_B.Models.Database;
using System;
using System.Collections.Generic;

namespace LDC_Shop_B.Models
{
    public class GetAdminOrderListResponse
    {
        /// <summary>
        /// 列表
        /// </summary>
        public List<AdminOrder> List { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Total { get; set; }
    }

    public class AdminOrder
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNum { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderState { get; set; }
        /// <summary>
        /// 订单商品数量
        /// </summary>
        public int OrderCount { get; set; }
        /// <summary>
        /// 订单总价
        /// </summary>
        public decimal OrderPrice { get; set; }
        public int UserId { get; set; }
        public string NickName { get; set; }
        public string Mobile { get; set; }
        /// <summary>
        /// 订单明细
        /// </summary>
        public List<OrderItem> OrderItems { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
